How to use the XCOPY command with Windows 95 MS-DOS.





Enter XCOPY at the MS-DOS prompt followed by a backslash and one of the following switches:

/T - Copy directory structure only
/D - Copy files newer than the destination files
/C - Continue even on error b
/H - Copy hidden and system files also
/R - Overwrite read-only files
/U - Copy only files that already exist on the destination
/N - Copy using short names
/I - Copy more than one file to the destination (assumes destination is a directory)
/Q - Copies files without showing filenames
/F - Displays full path of the destination while copying files
/L - Displays files that would be copied
/K - Copies attributes

The following switches are included in both MS-DOS and Windows 95:
/Y - Copy without confirming replacement of existing files
/-Y - Confirm replacement of existing files
/A - Copy source files that have Archive file attributes set
/M - Copy source files that have Archive file attributes set; turns off source attributes.
/D:date - Copies files modified on or after the specified date
/P - Prompts to confirm whether to create each destination file
/S - Copies directories and subdirectories unless they are empty
/E - Copies any subdirectories, even if they are empty
/V - Verifies each file as it is written to the destination file
/W - Displays a message to press a key to begin copying files

NOTE: Windows 95 ignores the /V switch.




2nd Opinion copyright © 1997 by McAfee Associates.
Subject to the terms set forth in the end-user license agreement. All rights reserved.